<h2>{%$category->title%}</h2>

{%if $authorizedUser%}

You are authorized<br />
<a href="{%$categories[18]->href%}">{%$categories[18]->title%}</a><br /><br />
<a href="{%$categories[20]->href%}">{%$categories[20]->title%}</a>

{%else%}

{%if $request[$rlength] == 'remind'%}
<!-- Remind password form -->

<form action="{%$category->url%}remind.html" method="post">
   <table border="1" cellpadding="5">
      <tr><td>{%$TR->meccano->login%}:</td>
         <td><input type="text" name="f[login]" /></td></tr>
      <tr><td></td>
         <td><input type="submit" value=" Send! " /></td></tr>
   </table>
</form>

{%else%}
<!-- Login form -->

<form action="{%$category->href%}" method="post">
   <table border="1" cellpadding="5">
      <tr><td>{%$TR->meccano->login%}:</td>
         <td><input type="text" name="f[login]" /></td></tr>
      <tr><td>{%$TR->meccano->password%}:</td>
         <td><input type="password" name="f[pwd]" /></td></tr>
      <tr><td></td>
         <td><input type="submit" value=" Log-in! "
   </table>
   <br />
   <a href="{%$category->url%}remind.html">Напомнить пароль</a>
</form>

{%/if%}
{%/if%}